/*
 * Powered By dico
 * Since 2017 - 2018
 */
package com.seeyoui.kensite.bussiness.exam.exercise.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.seeyoui.kensite.common.base.domain.DataEntity;
import com.seeyoui.kensite.common.util.excel.annotation.ExcelField;

/**
 * Exercise
 * @author dico
 * @version 2.0
 * @since 1.0
 * @date 2018-01-08
 */

@JsonIgnoreProperties(ignoreUnknown = true)
public class Exercise extends DataEntity<Exercise> {
	private static final long serialVersionUID = 1L;

	@ExcelField(title="用户ID", type=1, align=2, sort=7, mod="em_exercise|USER_ID")
	private String userId;//用户ID
	@ExcelField(title="题库ID", type=1, align=2, sort=8, mod="em_exercise|LIBRARY_ID")
	private String libraryId;//题库ID
	@ExcelField(title="结果", type=1, align=2, sort=9, mod="em_exercise|RESULT")
	private String result;//结果
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ExcelField(title="开始时间", type=1, align=2, sort=10, mod="em_exercise|START_TIME")
	private java.util.Date startTime;//开始时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ExcelField(title="交卷时间", type=1, align=2, sort=11, mod="em_exercise|SUBMIT_TIME")
	private java.util.Date submitTime;//交卷时间
	@ExcelField(title="状态", type=1, align=2, sort=12, mod="em_exercise|MARKING")
	private String marking;//状态
	@ExcelField(title="总分", type=1, align=2, sort=13, mod="em_exercise|TOTAL_SCORE")
	private String totalScore;//总分
	@ExcelField(title="练习时长（分钟）", type=1, align=2, sort=10, mod="em_exercise|DURATION")
	private int duration;//考试时长（分钟）
	@ExcelField(title="得分", type=1, align=2, sort=14, mod="em_exercise|SCORE")
	private String score;//得分

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserId() {
		return this.userId;
	}
	public void setLibraryId(String libraryId) {
		this.libraryId = libraryId;
	}

	public String getLibraryId() {
		return this.libraryId;
	}
	public void setResult(String result) {
		this.result = result;
	}

	public String getResult() {
		return this.result;
	}
	public void setStartTime(java.util.Date startTime) {
		this.startTime = startTime;
	}

	public java.util.Date getStartTime() {
		return this.startTime;
	}
	public void setSubmitTime(java.util.Date submitTime) {
		this.submitTime = submitTime;
	}

	public java.util.Date getSubmitTime() {
		return this.submitTime;
	}
	public void setMarking(String marking) {
		this.marking = marking;
	}

	public String getMarking() {
		return this.marking;
	}
	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	public String getTotalScore() {
		return this.totalScore;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}

	public int getDuration() {
		return this.duration;
	}
	public void setScore(String score) {
		this.score = score;
	}

	public String getScore() {
		return this.score;
	}
}